import {createBrowserRouter} from 'react-router-dom'
import Home from '@/pages/Home/index.tsx'
import Detail  from '@/pages/Detail/index.tsx'


const router=createBrowserRouter([
    {
        path:'/',
        // name:'home',
        element:<Home/>
    },
    {
        path:'/detail',
        element:<Detail/>
    }
])

export {router}